package cn.unknownerror.ueteam.gui;

import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;

public abstract class AbstractButton {

    private ItemStack item;

    public AbstractButton(ItemStack item){
        this.item=item;
    }

    public abstract void onClick(Player player);

    public ItemStack getItem() {
        return item;
    }
}
